package com.taxi.driver.socket.message;


import com.taxi.driver.socket.message.base.Message;
import com.taxi.driver.socket.message.base.MessageType;

/**
 * 心跳报文
 *
 * @author Zoro
 * @date 2016/11/22
 */
public class HeartBeatMessage extends Message {

    public HeartBeatMessage() {
        super();
        setType(MessageType.HEART_BEAT);
    }

    public HeartBeatMessage(String clientUuid) {
        super();
        setType(MessageType.HEART_BEAT);
        setClientUuid(clientUuid);
    }

    private long heartBeatTime = System.currentTimeMillis();//心跳时间

    public long getHeartBeatTime() {
        return heartBeatTime;
    }

}